<%@ page session="false"%><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%><%--需要插入的模板包括：
top：页面顶部的导航条快捷菜单
footer:页面下部的页脚标注
menu：左侧的菜单栏由不同的子布局或模板定义插入
right：右边区域的主要内容部分，可能会包括再次布局的其他内容，使用嵌套定义的方式
selected：用于控制主菜单的tab选中样式
lmenucls：用户控制左侧菜单的选中样式
子页面需要提供的属性如下：
1. menu
2. right
3. selected
4. lmenucls--%><tiles:useAttribute name="selected" id="tab" classname="java.lang.String" ignore="true" scope="request"/><tiles:useAttribute name="lmenucls" id="lmenucls" classname="java.lang.String" ignore="true" scope="request"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Pragma"  content="no-cache"  />
<title>我的寻师宝</title>
<script language="JavaScript" type="text/javascript">
var path="<%=request.getContextPath() %>";
</script>
<script src="<%=request.getContextPath() %>/resources/js/jquery.js" language="JavaScript" type="text/javascript"></script>
<script src="<%=request.getContextPath() %>/resources/js/Auntion.js" language="JavaScript" type="text/javascript"></script>
<script src="<%=request.getContextPath() %>/resources/js/register.js" language="JavaScript" type="text/javascript"></script>
<script src="<%=request.getContextPath() %>/resources/js/md5.js" language="JavaScript" type="text/javascript"></script>
<script src="<%=request.getContextPath() %>/resources/js/cookMenu.js" language="JavaScript" type="text/javascript"></script>
<link rel="stylesheet" href="<%=request.getContextPath() %>/resources/styles/default/auntion.css" type="text/css"/><%--<link rel="stylesheet" href="http://s.zbjimg.com/p/myzbj/css/realCer_stylem.css" type="text/css" />--%>
<link rel="stylesheet" href="<%=request.getContextPath() %>/resources/styles/default/realCer_stylem.css" type="text/css" /> 
<link rel="shortcut icon" href="http://s.zbjimg.com/img/favicon.ico" type="image/x-icon" />
</head>
<body>
<!--LOGO及搜索-->
<div class="tlbg" style="position: fixed; top: 0px; z-index: 790; width: 100%;"><tiles:insertAttribute name="top" ignore="true" /></div>
<div class="realCer" style="padding-top: 33px;">
  <!--LOGO及搜索-->
  <div class="dp_head">
    <h1 class="at_cis">
      <a title="返回寻师宝首页" href="http://www.zhubajie.com" class="at_gohome"></a>
      <a title="我的寻师宝" href="#" class="dp_gohone"></a>
    </h1>
    <div class="dpSsearch mt15">
      <form style="margin: 0px;" method="get" action="http://search.zhubajie.com/search">
      <div class="searchBox clearfix">
        <div class="at_select" id="at_select">
          <a class="at_selected">任务标题</a>
          <a value="tasktitle" href="javascript:void(0)" style="display: none;">任务标题</a>
          <a value="noid" href="javascript:void(0)" style="display: none;">任务号</a>
          <a value="taskuname" href="javascript:void(0)" style="display: none;">任务发布者</a>
          <a value="gid" href="javascript:void(0)" style="display: none;">稿件编号</a>
          <a value="username" href="javascript:void(0)" style="display: none;">会员名</a>
          <a value="skill" href="javascript:void(0)" class="end" style="display: none;">人才技能</a>
          <input type="hidden" id="v4_search_select" name="t" value="0" />
        </div>
        <input type="text" style="color: rgb(204, 204, 204);" name="q" class="searchTxt" value="请输入搜索的关键词!" />
        <input type="submit" value="搜索" title="点击搜索" id="searchbg" class="searchbtn" />
      </div>
      </form>
    </div>
  </div>
  <!--导航--->
  <div class="realNav mt15">
    <ul class="clearfix">
      <li<c:if test="${tab=='1'}"> class="select"</c:if>><a href="<%=request.getContextPath() %>/homeIndex.jhtml">我的寻师宝</a></li>
      <li<c:if test="${tab=='2'}"> class="select"</c:if>><a href="<%=request.getContextPath() %>/buyerIndex.jhtml">我是老师</a></li>
      <li<c:if test="${tab=='3'}"> class="select"</c:if>><a href="<%=request.getContextPath() %>/salerIndex.jhtml">我是学徒</a></li>
      <li<c:if test="${tab=='4'}"> class="select"</c:if>><a href="<%=request.getContextPath() %>/accountIndex.jhtml">账号管理</a></li>
      <li class="navlir">
        <a href="http://quan.zhubajie.com"><i class="hot"></i>我的寻师圈</a> <span>|</span>
        <a href="http://shop.zhubajie.com/signup/index.html">开通人才铺</a> <span>|</span>
        <a target="_blank" href="http://pay.zhubajie.com/pay/mypay">支付宝</a>
      </li>
    </ul>  
  </div>
  <!--主体部分-->
  <div class="realMain clearfix mt10">
    <!--左侧菜单-->
    <div class="realLeft" id="meunLeft"><tiles:insertAttribute name="menu" ignore="true" /></div>
    <!--主体部分-->
    <div class="realRight ml10 <c:if test="${tab=='2'||tab=='3' }">Buyer</c:if>"><tiles:insertAttribute name="right" ignore="true" /></div>
  </div>
  <!--底部-->
  <div class="footer"><tiles:insertAttribute name="footer" ignore="true" /></div>
</div>
</body>
</html>